using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("ThreeSliceTextElement")]
	public class ThreeSliceTextElement : MonoBehaviour
	{
		public UberText m_text => method_3<UberText>("m_text");

		public ThreeSliceElement m_threeSlice => method_3<ThreeSliceElement>("m_threeSlice");

		public ThreeSliceTextElement(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ThreeSliceTextElement(IntPtr address)
			: this(address, "ThreeSliceTextElement")
		{
		}

		public void SetText(string text)
		{
			method_8("SetText", text);
		}

		public void Resize()
		{
			method_8("Resize");
		}

		public float GetTextWidth()
		{
			return method_11<float>("GetTextWidth", Array.Empty<object>());
		}
	}
}
